//
//  TopupViewController.m
//  TenThousand
//
//  Created by 我的 on 16/6/28.
//  Copyright © 2016年 baixue. All rights reserved.
//

#import "TopupViewController.h"
#import "AddCardViewController.h"

@interface TopupViewController ()

@end

@implementation TopupViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"充值";
    [self createLeft:[UIImage imageNamed:@"ZHSZicon_03"] leftClick:^{
        [self.navigationController popViewControllerAnimated:YES];
    } right:nil rightClick:nil];
}

//下一步
- (IBAction)nextBtn:(id)sender {
    AddCardViewController *addCard = [[AddCardViewController alloc] init];
    [self.navigationController pushViewController:addCard animated:YES];
    
}

//充值
- (void)setUpData{
    //http://114.215.198.5:22853/ Amount/ RollInTend
    NSString *userId = [[NSUserDefaults standardUserDefaults]objectForKey:@"userId"];
//    NSDictionary *para = @{@"UserId":userId,@"TendId":};
    
//    [NetWorkManager requestWithType:HttpRequestTypePost withUrlString:@"Amount/RollInTend" withMethodName:@"RollInTend" withParaments:nil withSuccessBlock:^(NSDictionary *object) {
//        
//    } withFailureBlock:^(NSError *error) {
//        
//    } progress:nil];
}

@end
